package com.edu.mapper;

import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:何包蛋
 * @Date :2022/12/7 - 12 - 07 - 17:14
 */

public interface UserMapper {

    int insertUser(@Param("user") User user);

    User selectUserByName(@Param("userName") String userName);

    List<User> selectUserAll();

}
